//
//  AreaCell.m
//  AIM
//
//  Created by user10 on 2017/6/12.
//  Copyright © 2017年 user10. All rights reserved.
//

#import "AreaCell.h"
#import "NomalModel.h"

@implementation AreaCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

/** 自定义构造方法 */
+ (instancetype) cellWithTableView:(UITableView *) tableView {
    static NSString *ID = @"friendCell";
    AreaCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    
    if (nil == cell) {
        cell = [[self alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:ID];
    }
    
    return cell;
}

- (void)setNomalData:(NomalModel *)nomalData {
    _nomalData = nomalData;
    
    self.textLabel.text = nomalData.MSG_CATEGORY_TO_NM;


}
/** 加载数据 */
- (void)setFriendData:(Friend *)friendData {
    _friendData = friendData;
    
    //    self.imageView.image = [UIImage imageNamed:friendData.icon];
}

@end
